package com.st.service;

import com.st.entity.User;

public interface IUserService {

	/**
	 * 用户登录操作
	 */
	User login(User user);
	/**
	 * 用户注册
	 * @param user
	 * @return
	 */
	int register(User user);
	/**
	 * 修改密码
	 * @param loginUser
	 * @param oldpassword
	 * @param newpassword
	 * @param newpassword2
	 * @return
	 */
	int modifyPwd(User loginUser, String oldpassword, String newpassword, String newpassword2);
}
